package com.hfkh.keyun.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hfkh.keyun.common.ApiResult;
import com.hfkh.keyun.entity.Resource;
import com.hfkh.keyun.exception.BusinessException;
import com.hfkh.keyun.vo.CarouselVo;
import com.hfkh.keyun.vo.ResourceVO;

import java.io.IOException;

/**
 * @Author: jhh
 */
public interface ResourceService extends IService<Resource> {

    Page<Resource> selectResourcePage(Page<Resource> page, Integer majorId);

    ApiResult AddSumUpdResource(ResourceVO resourceVO) throws IOException, BusinessException;
}
